//@athour Reenu


public class TV
{
	String tvsource= "";
	boolean power= false;
	
	
	void switchTVOn()
	{
		power=true;
		System.out.println("select source now");
		
	}
	void selectSource(String source)
	{
		switch (source)
		{
			case "tv" :
			{
				System.out.println("select channel");
			}
			            break;
			case "pc" : 
			{
				System.out.println("Select Pc Source");
			}
			            break;
			case "hdmi 1" :
			{
				System.out.println("Select hdmi 1 Source");
			}
			            break;
			case "hdmi 2" :
			{
				System.out.println("Select hdmi 2 Source");
			}
			            break;
			case "hdmi 3" : 
			{
				System.out.println("Select hdmi 3 Source");
			}
			             break;
			default: System.out.println("select source.");
			       break;	
		}            
	}  
	
		void switchTVOff()
		{
			power=false;
			System.out.println("Tv is switched off now");
			
		}
	
	
}
